<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单控件的使用</title>
</head>
<body>
<form action="/zuoye6.php" method="POST" enctype="multipart/form-data">
    用户名：<input type="text" name="username" maxlength="9" >
    <br>
    <br>
    密码： &nbsp;&nbsp;<input type="password" name="psw">
    <br>
    <br>
    籍贯：
    <select name="select1">
        <optgroup label="重庆市">
            <option>重庆市</option>
        </optgroup>
    </select>
    <select name="select2">
        <optgroup label="重庆市">
            <option>涪陵区</option>
            <option>潼南区</option>
            <option>渝北区</option>
            <option>铜梁区</option>
        </optgroup>
    </select>
    <select name="select3">
        <optgroup label="涪陵区">
            <option>蒿枝坝</option>
            <option>李渡新区</option>
            <option>高笋塘</option>
            <option>涪陵北</option>
        </optgroup>
    </select>
    <br>
    <br>
    <!--点击文字时，也能被选中-->
    性别：<input type="radio" name="sex" value="男" checked>男
    <input type="radio" name="sex" value="女" checked>女
    <br>
    <br>
    爱好：<input type="checkbox" name="hubbit[]" value="唱歌">唱歌
    <input type="checkbox"  name="hubbit[]" value="跳舞">跳舞
    <input type="checkbox"  name="hubbit[]" value="rap">rap
    <input type="checkbox"  name="hubbit[]" value="篮球">篮球
    <input type="checkbox"  name="hubbit[]" value="赌3-2">赌3-2
    <br>
    <br>
    介绍自己:
    <textarea rows="10" cols="30" name="introduce"></textarea>
    <br>
    <br>
    请上传帅气的头像：<input type="file" name="upload">
    <br>
    <br>
    <input type="submit" value="提交表单">
    <input type="reset" value="重新填写">
    <br>
    <br>
</form>
<br>
<br>
</body>
</html>